package com.w7vm.menuweb.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Set;


/**
 * The persistent class for the RestauranteServicoSys database table.
 * 
 */
@Entity
@Table(name="RestauranteServicoSys")

@NamedQueries({
	@NamedQuery(name="RestauranteServicoSys.findServicoRestauranteByAll", 
					query="SELECT rs FROM RestauranteServicoSy rs")
})

public class RestauranteServicoSy implements Serializable {
	private static final long serialVersionUID = 1L;
	
	public static final String FIND_SERVICO_BY_ALL = "RestauranteServicoSys.findServicoRestauranteByAll";

	@Id
	private int idRestauranteServicoSys;

	@Column(name="Servico")
	private String servico;

	//bi-directional many-to-one association to RestauranteFilialWeb
	@OneToMany(mappedBy="restauranteServicoSy")
	private Set<RestauranteFilialWeb> restauranteFilialWebs;

	//bi-directional many-to-one association to RestauranteSedeWeb
	@OneToMany(mappedBy="restauranteServicoSy")
	private Set<RestauranteSedeWeb> restauranteSedeWebs;

    public RestauranteServicoSy() {
    }

	public int getIdRestauranteServicoSys() {
		return this.idRestauranteServicoSys;
	}

	public void setIdRestauranteServicoSys(int idRestauranteServicoSys) {
		this.idRestauranteServicoSys = idRestauranteServicoSys;
	}

	public String getServico() {
		return this.servico;
	}

	public void setServico(String servico) {
		this.servico = servico;
	}

	public Set<RestauranteFilialWeb> getRestauranteFilialWebs() {
		return this.restauranteFilialWebs;
	}

	public void setRestauranteFilialWebs(Set<RestauranteFilialWeb> restauranteFilialWebs) {
		this.restauranteFilialWebs = restauranteFilialWebs;
	}
	
	public Set<RestauranteSedeWeb> getRestauranteSedeWebs() {
		return this.restauranteSedeWebs;
	}

	public void setRestauranteSedeWebs(Set<RestauranteSedeWeb> restauranteSedeWebs) {
		this.restauranteSedeWebs = restauranteSedeWebs;
	}
	
}